package edu.pku.sei.act.model.mote;

import edu.pku.sei.act.model.common.ArchiModelConst;
import edu.pku.sei.act.mote.myenum.YNEnum;
import edu.pku.sei.gmp.properties.annotation.GMPAnnotation;
import edu.pku.sei.gmp.properties.annotation.GMPEnumAnnotation;

public class Timer extends OuterModelElement {

	@GMPAnnotation(
			id = "ruleEngine.mote.needTimer",
			name = ArchiModelConst.__TIMER__,
			category = "Model",
			getter = "getTimer",
			setter = "setTimer",
			visible = true,
			serialize = true
			)
	@GMPEnumAnnotation()
			public YNEnum timer= YNEnum.Yes;
   // private String timer = "Yes";
	
	/*public String getTimer(){
		return timer;
	}
	public void setTimer(){
		this.timer = "Yes";
	}*/
	public YNEnum getTimer(){
		return timer;
	}
	public void setTimer(YNEnum timer){
		this.timer = timer;
	}

}